package com.api.user.service;
import com.api.core.config.AuthUser;
import com.api.user.model.UserFriend;
import com.api.core.service.Service;
import com.api.core.response.Result;

import java.util.List;

/**
 * Created by wanghuiwen on 2021/03/31.
 */
public interface UserFriendService extends Service<UserFriend> {
   Result agree(Long userId,Long fansId,Integer state);
   Result remove(Long userId,Long fansId);

   UserFriend getFriend(Long userId,Long fansId);

   List<UserFriend> getUserFriend(Long id);

    Result applyList(String order, Integer page, Integer size, Long userId);

    Result search(String uid, AuthUser authUser);
}
